func go/types.isTypeParam
41 uses
go/types (current package)
builtins.go#L189: if !isTypeParam(x.typ) {
builtins.go#L331: assert(!isTypeParam(typ))
builtins.go#L481: assert(!isTypeParam(typ))
builtins.go#L1040: return isTypeParam(t)
call.go#L214: if t, _ := T.Underlying().(*Interface); t != nil && !isTypeParam(T) {
const.go#L293: if !isTypeParam(target) {
conversions.go#L56: case constArg && isTypeParam(T):
conversions.go#L164: if IdenticalIgnoreTags(V.base.Underlying(), T.base.Underlying()) && !isTypeParam(V.base) && !isTypeParam(T.base) {
decl.go#L629: if isTypeParam(rhs) {
decl.go#L672: if isTypeParam(bound) {
expr.go#L221: if isTypeParam(x.typ) {
expr.go#L228: if isTypeParam(x.typ) {
expr.go#L441: if isTypeParam(target) {
expr.go#L582: if isTypeParam(x.typ) || isTypeParam(y.typ) {
expr.go#L584: if !isTypeParam(x.typ) {
expr.go#L1120: if isTypeParam(x.typ) {
gcsizes.go#L54: assert(!isTypeParam(T))
gcsizes.go#L157: assert(!isTypeParam(T))
index.go#L105: if !isTypeParam(x.typ) {
index.go#L254: if !isTypeParam(x.typ) {
lookup.go#L119: if enableTParamFieldLookup && obj == nil && isTypeParam(T) {
lookup.go#L562: if p, _ := T.Underlying().(*Pointer); isTypeParam(p.base) {
object.go#L537: if isTypeParam(typ) {
predicates.go#L119: return !isTypeParam(t) && IsInterface(t)
predicates.go#L123: func isTypeParam(t Type) bool {
predicates.go#L192: if dynamic && !isTypeParam(T) || t.typeSet().IsComparable(seen) {
predicates.go#L218: return !isTypeParam(t) || underIs(t, func(u Type) bool {
sizes.go#L92: assert(!isTypeParam(T))
sizes.go#L224: assert(!isTypeParam(T))
stmt.go#L732: if isTypeParam(x.typ) {
struct.go#L161: if isTypeParam(t) {
typeparam.go#L126: if isTypeParam(bound) {
typeset.go#L273: assert(!isTypeParam(typ))
typeset.go#L389: assert(!isTypeParam(t.typ))
typexpr.go#L167: if isTypeParam(typ) {
typexpr.go#L364: if isTypeParam(typ.key) {
unify.go#L348: assert(!isTypeParam(y))
unify.go#L562: if isTypeParam(y) {
union.go#L152: if isTypeParam(typ) {
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64)